built-using
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 21 Mar 2026 13:30:15 +0000 (13:30 +0000)
committerPeter Michael Green <plugwash@debian.org>
Sat, 21 Mar 2026 13:30:15 +0000 (13:30 +0000)
Gbp-Pq: Name built-using.patch

build.rs

index 9843ad8aa589f492d020aa80802c692a79641e12..fda71637687452156ce4560835ecb7d6e5ab04fc 100644 (file)
--- a/build.rs
+++ b/build.rs
@@ -266,6 +266,9 @@ const APPLE_ABI: &[&str] = &["ios", "macos", "tvos", "visionos", "watchos"];
 const WINDOWS: &str = "windows";
 
 fn main() {
+    println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}_=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap());
+    println!("dh-cargo:deb-built-using=ring_core_{}_{}_{}__test=0={}", std::env::var("CARGO_PKG_VERSION_MAJOR").unwrap(), std::env::var("CARGO_PKG_VERSION_MINOR").unwrap(), std::env::var("CARGO_PKG_VERSION_PATCH").unwrap(), std::env::var("CARGO_MANIFEST_DIR").unwrap());
+
     // Avoid assuming the working directory is the same is the $CARGO_MANIFEST_DIR so that toolchains
     // which may assume other working directories can still build this code.
     let c_root_dir = PathBuf::from(